package com.iot.iotplus.exception;


import com.iot.iotplus.base.ResultCode;

/**
 * 类描述: 断言处理类，用于抛出各种API异常
 *
 */
public class NetWorkDiskAsserts {

    public static void fail(String message) {
        throw new NetworkDiskException(message);
    }

    public static void fail(ResultCode errorCode) {
        throw new NetworkDiskException(errorCode);
    }
}
